package com.zjitc.serviceedu.service;

import com.zjitc.common.utils.RespBean;
import com.zjitc.serviceedu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;

import com.zjitc.serviceedu.entity.chapter.ChapterVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 赵诚挚
 * @since 2024-09-20
 */

public interface EduChapterService extends IService<EduChapter> {


    List<ChapterVo> getChapterAndChapterTwo(Long courseId);

    boolean deleteChapter( Long chapterId);


    boolean removeByCourseId(Long id);
}
